package com.jack.online.study.service.ucenter;

import com.jack.online.study.model.edu.dto.MemberDto;
import com.jack.online.study.model.ucenter.dao.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jack.online.study.model.ucenter.vo.LoginVo;
import com.jack.online.study.model.ucenter.vo.RegisterVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author jack
 * @since 2024-04-19
 */
public interface MemberService extends IService<Member> {
    void register(RegisterVo registerVo);

    String login(LoginVo loginVo);
    /**
     * 根据openid返回用户信息
     * @param openid
     * @return
     */
    Member getByOpenid(String openid);

    MemberDto getMemberDtoByMemberId(String memberId);

    Integer countRegisterNum(String day);
}
